package com.hall.dao;

import com.hall.pojo.DoctorAppraise;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DoctorAppraiseMapper {
    int insert(DoctorAppraise doctorAppraise);
    int update(DoctorAppraise doctorAppraise);
    int delete(DoctorAppraise doctorAppraise);
    DoctorAppraise get(@Param(value = "id") String id);//获取单条数据
    List<DoctorAppraise> findList(DoctorAppraise doctorAppraise);//查询所有数据
}
